/*
 * @Description:
 * @Author: 马丰彦
 * @LastEditor: 马丰彦
 */
import 'babel-polyfill' // 解决ie浏览器不支持promise
import Vue from 'vue'
// import ECharts from 'vue-echarts' // 引入echarts
// 手动引入 ECharts 各模块来减小打包体积
// import 'echarts/lib/chart/line'
// import 'echarts/lib/component/tooltip'
// import 'echarts/lib/component/polar'
import VeLine from 'v-charts/lib/line.common'
import VePie from 'v-charts/lib/pie.common'
import 'v-charts/lib/style.css'
import 'normalize.css/normalize.css' // 初始化css
import ElementUI from 'element-ui' // UI库
import 'element-ui/lib/theme-chalk/index.css' // UI库
import locale from 'element-ui/lib/locale/lang/zh-CN' // lang i18n
import '@/styles/index.scss' // 全局 css
import App from './App'
import router from './router'
import store from './store'
import '@/icons' // icon
import '@/permission' // 权限 control
import '@/icons/iconfont/iconfont.css'
// 本地mock方法
/* import { mockXHR } from '../mock'
mockXHR() */
// console.log = function() {} // 干掉页面console.log
Vue.component(VeLine.name, VeLine)
Vue.component(VePie.name, VePie)
Vue.use(ElementUI, { locale })
Vue.config.productionTip = false
new Vue({
  el: '#app',
  store,
  router,
  render: h => h(App)
})
/**
 *
 * ......................我佛慈悲......................
 *                       _oo0oo_
 *                      o8888888o
 *                      88" . "88
 *                      (| -_- |)
 *                      0\  =  /0
 *                    ___/`---'\___
 *                  .' \\|     |// '.
 *                 / \\|||  :  |||// \
 *                / _||||| -卍-|||||- \
 *               |   | \\\  -  /// |   |
 *               | \_|  ''\---/''  |_/ |
 *               \  .-\__  '-'  ___/-. /
 *             ___'. .'  /--.--\  `. .'___
 *          ."" '<  `.___\_<|>_/___.' >' "".
 *         | | :  `- \`.;`\ _ /`;.`/ - ` : | |
 *         \  \ `_.   \_ __\ /__ _/   .-` /  /
 *     =====`-.____`.___ \_____/___.-`___.-'=====
 *                       `=---='
 *
 *..................佛祖开光 ,永无BUG...................
 *
 */
